#-------------------------------------------------
#
# Project created by QtCreator 2014-02-26T22:08:59
#
#-------------------------------------------------

QT       += core gui \
            multimedia\
            network \
            script \
            sql \


greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = EZPlayer_QT
TEMPLATE = app

INCLUDEPATH += ./view \
    ./lib/EZTally \
    ./model/commonModel \
    ./model/playListModel \
    ./model \
    ./common \
    ./view/common \
    ./lib/libav \
    ./lib \
    ./playEngine \
    ./Bll

macx:{
#CONFIG += plugin
INCLUDEPATH += /usr/local/include/
QMAKE_LFLAGS	+= -framework Cocoa
QMAKE_LFLAGS_VERSION = "1.0"
QMAKE_LFLAGS_COMPAT_VERSION = "1000"
QMAKE_LFLAGS_SONAME = "ezKplayer"
#LIBS +=  /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libz.dylib \
# /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/lib/libbz2.dylib
QMAKE_MAC_SDK = macosx
#QMAKE_MAC_SDK.macosx = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
#QMAKE_MAC_SDK.macosx.path = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk
}

LIBS += -L /Users/ellzu/myWork/qtwork/ezplayer_qt/trunk/lib/libav/libavlibs \
-lavcodec \
-lavformat \
-lavutil \
-lavdevice \
-lavfilter \
-lavresample \
-lswscale \

SOURCES += main.cpp\
    view/mainwindow.cpp \
    view/topview/playbarview.cpp \
    view/testwidget.cpp \
    playEngine/ezvoiceplayer.cpp \
    model/commonModel/songmodel.cpp \
    lib/EZTally/EZAutoreleasePool.cpp \
    lib/EZTally/EZAutoreleasePoolManager.cpp \
    lib/EZTally/EZTallyArray.cpp \
    lib/EZTally/EZTallyAutoPtr.cpp \
    lib/EZTally/EZTallyDictionary.cpp \
    lib/EZTally/EZTallyObject.cpp \
    model/playListModel/playlistbasemodel.cpp \
    model/playListModel/normalplaylistmodel.cpp \
    playEngine/ezvoiceplayermanager.cpp \
    view/playListView/playlistview.cpp \
    model/playListModel/localplaylistmodel.cpp \
    BLL/radioBLl/radiobll.cpp \
    model/commonModel/radiomodel.cpp \
    view/radioView/radioview.cpp \
    view/common/asyncimageview.cpp \
    common/config.cpp \
    model/playListModel/radioplaylistmodel.cpp \
    model/playListModel/rplistmoel.cpp \
    view/radioView/radioviewcell.cpp \
    view/common/playmodelbutton.cpp \
    view/playListView/nowplaylistview.cpp \
    common/settingconfig.cpp \
    view/setting/settingdialogview.cpp \
    view/playListInfoView/pathsongsview.cpp \
    BLL/DownLoadBLL/downloadmanager.cpp \
    lib/http/ezqhttp.cpp \
    lib/http/ezqhttpaccessmanager.cpp \
    lib/stream/streambase.cpp \
    lib/stream/filestream.cpp \
    playEngine/decode/libavdecode.cpp \
    lib/thread/ezqthread.cpp \
    playEngine/player/ezqaudioplayer.cpp \
    playEngine/player/ezqaudioplayerbuffer.cpp \
    lib/stream/httpstream.cpp \
    BLL/songBll/songdownloadhttp.cpp \
    lib/thread/ezthreadevent.cpp \
    lib/thread/ezthread.cpp \
    BLL/imageBll/loadimagebll.cpp \
    BLL/imageBll/loadimagebllcallback.cpp \
    common/filedata.cpp \
    model/playListModel/myplaylistmodel.cpp \
    view/playListInfoView/myplaylistsongsview.cpp \
    view/common/songMenu/songmenu.cpp

HEADERS  += \
    view/mainwindow.h \
    view/topview/playbarview.h \
    view/testwidget.h \
    playEngine/ezvoiceplayer.h \
    model/commonModel/songmodel.h \
    commonTools/define.h \
    playEngine/EZVoicePlayerDefin.h \
    lib/EZTally/EZAutoreleasePool.h \
    lib/EZTally/EZAutoreleasePoolManager.h \
    lib/EZTally/EZTallyArray.h \
    lib/EZTally/EZTallyAutoPtr.h \
    lib/EZTally/EZTallyDictionary.h \
    lib/EZTally/EZTallyObject.h \
    model/playListModel/playlistbasemodel.h \
    model/playListModel/normalplaylistmodel.h \
    playEngine/ezvoiceplayermanager.h \
    view/playListView/playlistview.h \
    model/playListModel/localplaylistmodel.h \
    BLL/radioBLl/radiobll.h \
    model/commonModel/radiomodel.h \
    view/radioView/radioview.h \
    view/common/asyncimageview.h \
    common/config.h \
    model/playListModel/radioplaylistmodel.h \
    model/playListModel/rplistmoel.h \
    view/radioView/radioviewcell.h \
    view/common/playmodelbutton.h \
    view/playListView/nowplaylistview.h \
    common/settingconfig.h \
    view/setting/settingdialogview.h \
    view/playListInfoView/pathsongsview.h \
    lib/libav/libavcodec/avcodec.h \
    lib/libav/libavcodec/avfft.h \
    lib/libav/libavcodec/dxva2.h \
    lib/libav/libavcodec/vaapi.h \
    lib/libav/libavcodec/vda.h \
    lib/libav/libavcodec/vdpau.h \
    lib/libav/libavcodec/version.h \
    lib/libav/libavcodec/xvmc.h \
    lib/libav/libavformat/avformat.h \
    lib/libav/libavformat/avio.h \
    lib/libav/libavformat/version.h \
    lib/libav/libavutil/adler32.h \
    lib/libav/libavutil/aes.h \
    lib/libav/libavutil/attributes.h \
    lib/libav/libavutil/audio_fifo.h \
    lib/libav/libavutil/audioconvert.h \
    lib/libav/libavutil/avassert.h \
    lib/libav/libavutil/avconfig.h \
    lib/libav/libavutil/avstring.h \
    lib/libav/libavutil/avutil.h \
    lib/libav/libavutil/base64.h \
    lib/libav/libavutil/blowfish.h \
    lib/libav/libavutil/bswap.h \
    lib/libav/libavutil/buffer.h \
    lib/libav/libavutil/channel_layout.h \
    lib/libav/libavutil/common.h \
    lib/libav/libavutil/cpu.h \
    lib/libav/libavutil/crc.h \
    lib/libav/libavutil/dict.h \
    lib/libav/libavutil/downmix_info.h \
    lib/libav/libavutil/error.h \
    lib/libav/libavutil/eval.h \
    lib/libav/libavutil/fifo.h \
    lib/libav/libavutil/file.h \
    lib/libav/libavutil/frame.h \
    lib/libav/libavutil/hmac.h \
    lib/libav/libavutil/imgutils.h \
    lib/libav/libavutil/intfloat.h \
    lib/libav/libavutil/intreadwrite.h \
    lib/libav/libavutil/lfg.h \
    lib/libav/libavutil/log.h \
    lib/libav/libavutil/lzo.h \
    lib/libav/libavutil/macros.h \
    lib/libav/libavutil/mathematics.h \
    lib/libav/libavutil/md5.h \
    lib/libav/libavutil/mem.h \
    lib/libav/libavutil/old_pix_fmts.h \
    lib/libav/libavutil/opt.h \
    lib/libav/libavutil/parseutils.h \
    lib/libav/libavutil/pixdesc.h \
    lib/libav/libavutil/pixfmt.h \
    lib/libav/libavutil/random_seed.h \
    lib/libav/libavutil/rational.h \
    lib/libav/libavutil/replaygain.h \
    lib/libav/libavutil/samplefmt.h \
    lib/libav/libavutil/sha.h \
    lib/libav/libavutil/stereo3d.h \
    lib/libav/libavutil/time.h \
    lib/libav/libavutil/version.h \
    lib/libav/libavutil/xtea.h \
    BLL/DownLoadBLL/downloadmanager.h \
    lib/http/ezqhttp.h \
    lib/http/ezqhttpaccessmanager.h \
    lib/stream/streambase.h \
    lib/stream/filestream.h \
    playEngine/decode/libavdecode.h \
    lib/log/EZQLOG.h \
    lib/thread/ezqthread.h \
    playEngine/decode/libavDecodeDefine.h \
    playEngine/player/ezqaudioplayer.h \
    lib/libav/libavresample/avresample.h \
    lib/libav/libavresample/version.h \
    playEngine/player/ezqaudioplayerbuffer.h \
    playEngine/player/ezqaudioplayerdefine.h \
    lib/stream/httpstream.h \
    BLL/songBll/songdownloadhttp.h \
    lib/thread/EZThreadDefine.h \
    lib/thread/ezthreadevent.h \
    lib/thread/ezthread.h \
    BLL/imageBll/loadimagebll.h \
    BLL/imageBll/loadimagebllcallback.h \
    common/filedata.h \
    model/playListModel/myplaylistmodel.h \
    view/playListInfoView/myplaylistsongsview.h \
    view/common/songMenu/songmenu.h

FORMS    +=\
    view/mainwindow.ui \
    view/topview/playbarview.ui \
    view/testwidget.ui \
    view/playListView/playlistview.ui \
    view/radioView/radioview.ui \
    view/radioView/radioviewcell.ui \
    view/playListView/nowplaylistview.ui \
    view/setting/settingdialogview.ui \
    view/playListInfoView/pathsongsview.ui \
    view/playListInfoView/myplaylistsongsview.ui

CONFIG += mobility
MOBILITY = 

RESOURCES += \
    res/playBar/PlayBar.qrc

OTHER_FILES += \
    res/playBar/play_ previous@2x.png \
    res/playBar/play_ previous@2x.png \
    res/playBar/play_ previous@2x.png \
    lib/jsoncpp/src/sconscript \



